x86emul: work around SandyBridge errata
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Feb 2019 10:33:09 +0000 (11:33 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Feb 2019 10:33:09 +0000 (11:33 +0100)
commit2cd833de4dae3898849a0eea5298644e2890e018
tree9c4b8dcb7b0bfe8b1e414a573ec5688a097339d9
parentde094111f46239b7ad0a3b4ce69b286182febf72
x86emul: work around SandyBridge errata

There are a number of exception condition related errata on SandyBridge
CPUs, some of which are unexpected #UD (others, of no interest here, are
lack of mandated exceptions, or exceptions of unexpected type). Annotate
the one workaround we already have, and add two more.

Due to the exception recovery we have in place for stub invocations
these aren't security issues.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 0d4d9e8f55602415475e04a5dc8b4ad27845a7f9
master date: 2018-12-18 15:19:47 +0100
xen/arch/x86/x86_emulate/x86_emulate.c